#-------------------------------------------------
#
# Project created by QtCreator 2016-12-02T22:39:42
#
#-------------------------------------------------

QT       += xml
TARGET = ProgramSet
TEMPLATE = lib

DEFINES += PROGRAMSET_LIBRARY
CONFIG += staticlib

INCLUDEPATH += $$PWD
DEPENDPATH += $$PWD

INCLUDEPATH += ../../include/MacroDefine
INCLUDEPATH += ../../include/
INCLUDEPATH +=../HmiGsoapQt
INCLUDEPATH +=../MessageLog
INCLUDEPATH +=../DomParser
INCLUDEPATH +=../Md5Check
INCLUDEPATH += ../TcrController
INCLUDEPATH += ../ProgramLanguageTranslate

HEADERS += \
    abortinstruction.h \
    callinstruction.h \
    coordinateinstruction.h \
    endinstruction.h \
    forinstruction.h \
    gripperinstruction.h \
    ifconditionblock.h \
    ifinstruction.h \
    ioinstruction.h \
    jumpinstruction.h \
    labelinstruction.h \
    line.h \
    messageinstruction.h \
    motioninstruction.h \
    overrideinstruction.h \
    paldefine.h \
    palinstruction.h \
    pauseinstruction.h \
    program.h \
    programset.h \
    programupdatedata.h \
    regconditionblock.h \
    registerinstruction.h \
    registerprins.h \
    rsrinstruction.h \
    runinstruction.h \
    selectinstruction.h \
    timerinstruction.h \
    ualminstruction.h \
    waitinstruction.h \
    moveFreeInstruction.h \
    moveMagInstruction.h \
    modbusreadinstruction.h \
    modbustartinstruction.h \
    modbuswriteinstruction.h \
    tcpstartinstruction.h \
    tcpreadinstruction.h \
    tcpwriteinstruction.h \
    musicinstruction.h \
    odometryresetinstruction.h \
    charginginstruction.h \
    liftmechanisminstruction.h \
    loadmapinstruction.h \
    checkbatteryinstruction.h \
    waitcommandinstruction.h \
    robotmoveinstruction.h \
    rollerinstruction.h \
    visionruninstruction.h \
    visiongetdatainstruction.h \
    visiontriggerinstruction.h \
    visioncleardatainstruction.h \
    trackstartinstruction.h \
    trackendinstruction.h \
    trackgetdatainstruction.h \
    axismoveinstruction.h \
    prregisterinstruction.h \
    plregisterinstruction.h \
    weldstartinstruction.h \#//拓展新指令Fundation增加代码20191122hualei
    weldendinstruction.h\
    weaveinstruction.h \
    weaveendinstruction.h \
    trackweldtastinstruction.h \
    trackweldendinstruction.h \
    watchdiinstruction.h \
    lasercamerapointfetchinstruction.h \
    lasercameractrlinstruction.h \
    lasercameratrackinstruction.h \
    laserscaninstruction.h \
    buffermoveinstruction.h

SOURCES += \
    abortinstruction.cpp \
    callinstruction.cpp \
    coordinateinstruction.cpp \
    endinstruction.cpp \
    forinstruction.cpp \
    gripperinstruction.cpp \
    ifconditionblock.cpp \
    ifinstruction.cpp \
    ioinstruction.cpp \
    jumpinstruction.cpp \
    labelinstruction.cpp \
    line.cpp \
    messageinstruction.cpp \
    motioninstruction.cpp \
    overrideinstruction.cpp \
    paldefine.cpp \
    palinstruction.cpp \
    pauseinstruction.cpp \
    program.cpp \
    programset.cpp \
    programupdatedata.cpp \
    regconditionblock.cpp \
    registerinstruction.cpp \
    registerprins.cpp \
    rsrinstruction.cpp \
    runinstruction.cpp \
    selectinstruction.cpp \
    timerinstruction.cpp \
    ualminstruction.cpp \
    waitinstruction.cpp \
    moveFreeInstruction.cpp \
    moveMagInstruction.cpp \
    modbuswriteinstruction.cpp \
    modbusreadinstruction.cpp \
    modbustartinstruction.cpp \
    tcpstartinstruction.cpp \
    tcpreadinstruction.cpp \
    tcpwriteinstruction.cpp \
    musicinstruction.cpp \
    odometryresetinstruction.cpp \
    charginginstruction.cpp \
    liftmechanisminstruction.cpp \
    loadmapinstruction.cpp \
    checkbatteryinstruction.cpp \
    waitcommandinstruction.cpp \
    robotmoveinstruction.cpp \
    rollerinstruction.cpp \
    visionruninstruction.cpp \
    visiongetdatainstruction.cpp \
    visiontriggerinstruction.cpp \
    visioncleardatainstruction.cpp \
    trackstartinstruction.cpp \
    trackendinstruction.cpp \
    trackgetdatainstruction.cpp \
    axismoveinstruction.cpp \
    prregisterinstruction.cpp \
    plregisterinstruction.cpp \
    weldstartinstruction.cpp \
    weldendinstruction.cpp\
    weaveinstruction.cpp\
    weaveendinstruction.cpp \
    trackweldtastinstruction.cpp \
    trackweldendinstruction.cpp \
    watchdiinstruction.cpp \
    lasercamerapointfetchinstruction.cpp \
    lasercameractrlinstruction.cpp \
    lasercameratrackinstruction.cpp \
    laserscaninstruction.cpp \
    buffermoveinstruction.cpp

＃DEFINES += BUILD_ARM
DEFINES += BUILD_X86_LINUX
#DEFINES += BUILD_X86_WINDOWS #为什么其它库pro也要定义这个才起作用。


contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
}
contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")

}
contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
}



contains( DEFINES, BUILD_X86_WINDOWS ){
message("project use BUILD_X86_WINDOWS !")
DESTDIR =../../lib/x86_WINDOWS
#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_windows
MOC_DIR +=../../build/tmpBuildDirectory_windows
OBJECTS_DIR += ../../build/tmpBuildDirectory_windows
RCC_DIR += ../../build/tmpBuildDirectory_windows
}

contains( DEFINES, BUILD_X86_LINUX ){
message("project use BUILD_X86_LINUX !")
DESTDIR =../../lib

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory
MOC_DIR +=../../build/tmpBuildDirectory
OBJECTS_DIR += ../../build/tmpBuildDirectory
RCC_DIR += ../../build/tmpBuildDirectory
}

contains( DEFINES, BUILD_ARM ){
message("project use BUILD_ARM !")
DESTDIR =../../lib-arm

#编译中间文件目录
UI_DIR += ../../build/tmpBuildDirectory_arm
MOC_DIR +=../../build/tmpBuildDirectory_arm
OBJECTS_DIR += ../../build/tmpBuildDirectory_arm
RCC_DIR += ../../build/tmpBuildDirectory_arm
}
